package com.zwt.service.impl;

import com.zwt.service.ApiService;
import com.zwt.util.http.HttpClientUtils;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by zwt on 2018/9/6.
 */
@Service
public class ApiServiceImpl implements ApiService {



    @Override
    public String getJson(String url, Map<String, Object> parms, String host) {
        String json = HttpClientUtils.sendPostRequest(url, parms,host);
        return json;
    }
}
